package se.sll.itintegration.catalogue.gui.service;

import se.sll.service.catalogue.gui.api.model.MonitorInfo;
import se.sll.service.catalogue.gui.api.resource.MonitorService;

import javax.ejb.Stateless;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;

/**
 *
 * @author khaleddaham
 */
@Stateless
public class MonitorFacadeREST implements MonitorService {

    @Override
    public MonitorService.GetMonitorResponse getMonitor() {
        MonitorInfo monitor = new MonitorInfo();
        monitor.setVmImportFileTimeStamp("Feb 23, 2014 8:00:01 PM");
        monitor.setVmImportTimeStamp("20140224072356");
        monitor.setVmImportNumCapacities("4893");
        monitor.setVmImportNumIdmap("416");
        monitor.setVmImportNumOffers("488");
        monitor.setVmImportNumProducts("166");
        return GetMonitorResponse.jsonOK(monitor);
    }
}